﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="Admin_left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        body
        {
            font-size: 12px;
            margin:0px;
        }
    </style>
    <link href="../images/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <img src="../images/title.gif" />
        <asp:Repeater ID="Repeater2" runat="server">
            <ItemTemplate>
            <table width="98%"><tr><td>
                <div class="Dialog">
                    <div class="Title">
                        <%# Eval("Name") %><asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("ID") %>' />
                    </div>
                    <div class="Content">
                    <%# getMenu(Convert.ToInt32(Eval("ID").ToString())) %>
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <div style="padding-left: 5px;">
                                    <a href='<%# Eval("URL") %>' target="MainFrame">
                                        <%# Eval("Name") %></a></div>
                            </ItemTemplate>
                        </asp:Repeater>
<%--                        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="AvatarDAL.AvatarDataContext"
                            OrderBy="Order" Select="new (Url, Name, Open)" TableName="Management_Category"
                            Where="Open == @Open &amp;&amp; DepartmentID == @DepartmentID">
                            <WhereParameters>
                                <asp:Parameter DefaultValue="True" Name="Open" Type="Boolean" />
                                <asp:ControlParameter ControlID="HiddenField1" Name="DepartmentID" PropertyName="Value"
                                    Type="Int32" />
                            </WhereParameters>
                        </asp:LinqDataSource>
--%>                    </div>
                </div>
                </td></tr></table>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <asp:Button ID="btn_Refresh" runat="server" CssClass="Button" OnClick="btn_Refresh_Click"
        Text="刷新" />
    </form>
</body>
</html>
